ProgramListWithPitchNames Class Reference
[VST Implementation Helper Classes]

ProgramListWithPitchNames element. More...

#include <vsteditcontroller.h>

Inheritance diagram for ProgramListWithPitchNames:
Inheritance graph
[legend]

Public Member Functions

 ProgramListWithPitchNames (const String128 name, ProgramListID listId, UnitID unitId)
bool setPitchName (int32 programIndex, int16 pitch, const String128 pitchName)
 Sets a name for the given program index and a given pitch.
bool removePitchName (int32 programIndex, int16 pitch)
 Removes the PitchName entry for the given program index and a given pitch.
int32 addProgram (const String128 name)
tresult hasPitchNames (int32 programIndex)
tresult getPitchName (int32 programIndex, int16 midiPitch, String128 name)

Detailed Description

ProgramListWithPitchNames element.


Constructor & Destructor Documentation

ProgramListWithPitchNames ( const String128  name,
ProgramListID  listId,
UnitID  unitId 
)

Member Function Documentation

bool setPitchName ( int32  programIndex,
int16  pitch,
const String128  pitchName 
)

Sets a name for the given program index and a given pitch.

bool removePitchName ( int32  programIndex,
int16  pitch 
)

Removes the PitchName entry for the given program index and a given pitch.

Returns true if it was found and removed.

int32 addProgram ( const String128  name  )  [virtual]

Reimplemented from ProgramList.

tresult hasPitchNames ( int32  programIndex  )  [virtual]

Reimplemented from ProgramList.

tresult getPitchName ( int32  programIndex,
int16  midiPitch,
String128  name 
) [virtual]

Reimplemented from ProgramList.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
Empty

Copyright ©2013 Steinberg Media Technologies GmbH. All Rights Reserved.